using Helpers;
using UnityEngine;

namespace Toolkit.UI.Follow
{
    public class UIFollowHelper : MonoBehaviour
    {
        public string targetLabel;

        void Start()
        {
            Transform target = PointHelper.Find(targetLabel);
            GetComponent<UIFollower>().SetTarget(target);
        }
    }
}